﻿using Dapper;
using hCommand;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Persistence
{
    public class AbsBParamServer : AbsWMSBaseServer, IBParamServer
    {
        public bool UpdateBParamRemark(int id,string remark)
        {
            string sql = "update b_Param set remark=@remark where id=@id ";
            

            int i = opConn().Execute(sql, new { id, remark });

            if (i != 1)
            {
                return false;
            }
            else
            {
                return true;
            }
        }
    }
}
